public class Code008 {
	public static void main(String[] args) {
		double[] num={34.2,45.6,87.3,-98.2,123};
		double max=0;
		for (int i = 0; i < num.length; i++) {
			if(num[i]>max){
				max=num[i];
			}
			
		}
		System.out.println(max);
	}

}
